<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>求职者注册页面</title>
<link rel="stylesheet" href="<%=request.getContextPath() %>/vendor/bootstrap/css/bootstrap.min.css"/>
<style>

form {
	margin-top: 50px;
	
}
.btn{
	width:200px;
	position:relative;
	left:1px;
	float:left;
	
}
#btn{
	width:100px;
	position:relative;
	margin-top:-50px;
	left:220px;
	float:left;
	
}

</style>
</head>
<body>

<form class="form-horizontal" method = "post" action = "<%=request.getContextPath()%>/TalentServlet?command=register" onsubmit="return validate();">
<fieldset > 
		<legend >求&nbsp;&nbsp;职&nbsp;&nbsp;&nbsp;&nbsp;者&nbsp;&nbsp;注&nbsp;&nbsp;册</legend>
		<div class="form-group">
				<label for="code" class="col-sm-2 control-label">账号　:</label>
				<div class="col-sm-10">
					<input type="text" class="form-control" id="code"
						name="code" style = "width:300px" value = ""><span id="codeTip"></span>
				</div>
			</div>
		<div class="form-group">
				<label for="passwd" class="col-sm-2 control-label">密码　:</label>
				<div class="col-sm-10">
					<input type="text" class="form-control" id="passwd"
						name="passwd" style = "width:300px" value = ""><span id="passwdTip"></span>
				</div>
			</div>
 
  <div class="form-group">
				<label for="passwd1" class="col-sm-2 control-label">确认密码　:</label>
				<div class="col-sm-10">
					<input type="text" class="form-control" id="passwd1"
						name="passwd1" style = "width:300px" value = ""><span id="passwd1Tip"></span>
				</div>
			</div>
   <div class="form-group">
				<label for="name" class="col-sm-2 control-label">姓名:</label>
				<div class="col-sm-10">
					<input type="text" class="form-control" id="name"
						name="name" style = "width:300px" value = ""><span id="nameTip"></span>
				</div>
			</div>
  <div class="form-group">
				<label for="phone" class="col-sm-2 control-label">电话　:</label>
				<div class="col-sm-10">
					<input type="text" class="form-control" id="phone"
						name="phone" style = "width:300px" value = ""><span id="phoneTip"></span>
				</div>
			</div>
			
 <div class="form-group">
				<label for="email" class="col-sm-2 control-label">Email　:</label>
				<div class="col-sm-10">
					<input type="text" class="form-control" id="email"
						name="email" style = "width:300px" value = ""><span id="emailTip"></span>
				</div>
			</div>
  <div class="form-group">
				<label for="age" class="col-sm-2 control-label">年龄　:</label>
				<div class="col-sm-10">
						<select name ="age" id = "age">
							<option value="">-请选择-<option>
							<script>
							for (var i = 0;i < 80 ;i++){
								document.write('<option value="'+ i +'">'+ i +'<option>');
							}
							</script>
						</select>
						<span id="ageTip"></span><br>
				</div>
			</div>
			
			
  <div class="form-group">
				<label for="gender" class="col-sm-2 control-label">性别　:</label>
				<input type = "radio" name ="gender" value="1" checked="checked">　男　　　　　　
				<input type = "radio" name = "gender" value = "2">　女<br>
			</div>
   <div class="form-group">
				<label for="hobby" class="col-sm-2 control-label">爱好　:</label>
				<input type="checkbox" name="hobby" value="看书">看书　　　
				 <input type="checkbox" name="hobby" value="编程">编程　　
				 <input type="checkbox" name="hobby" value="旅游">旅游　　
				 <input type="checkbox" name="hobby" value="音乐">音乐　　
				 <span id="hobbyTip"></span><br>
			</div>
  
  
      <div class="form-group">
				<div class="col-sm-offset-2 col-sm-10">
					<button type="submit" class="btn btn-primary" >注册</button>
				</div>
			</div>
			
			
			<div class="form-group">
				<div class="col-sm-offset-2 col-sm-10">
					<button type="submit" class="btn" id = "btn">登录</button>
				</div>
			</div>
   

   </fieldset>
</form>
<script src = "<%=request.getContextPath()%>/view/talent/js/talent-register.js"></script>
<script src = "<%=request.getContextPath()%>/vendor/jquery.min.js"></script>
<script src = "<%=request.getContextPath()%>/vendor/bootstrap/js/bootstrap.min.js"></script>
</body>
</html>